from aiogram import types
from aiogram.filters import BaseFilter

import config


class IsAdmin(BaseFilter):
    async def __call__(self, m: types.Message) -> bool:
        if m.from_user.id in config.ADMIN_ID:
            return True

